#include "HiloGTK.h"
#include <iostream>
#include <glibmm-2.4/glibmm/random.h>
#include <glibmm-2.4/glibmm/thread.h>
#include <glibmm-2.4/glibmm.h>


HiloGTK::HiloGTK() {
	hiloGTK = NULL;
}

void* HiloGTK::starter(void* data) {
	((HiloGTK*)data)->run();
	return NULL;
}

void HiloGTK::join() {
	hiloGTK->join();
}

void HiloGTK::start() {
	hiloGTK = Glib::Thread::create(sigc::mem_fun(*this, &HiloGTK::run), true);
}

HiloGTK::~HiloGTK() {}
